package com.software.dao;

import java.util.List;

import com.software.model.AgentCourseReal;
import com.software.model.AgentStudentReal;
import com.software.model.DrmAgentAllocateReal;
import com.software.model.DrmAgentAmountLog;
import com.software.model.DrmCourse;
import com.software.model.DrmUser;
import com.software.model.PageModel;

/**
 * @author xuyg
 *
 */
public interface StuMngDao {


	public int insertUser(DrmUser user);
	
	public int insertAgentUserReal(AgentStudentReal real);
	
	public int insertDrmAgentAmountLog(DrmAgentAmountLog log);
	
	public List<DrmUser> qureyUserList(DrmUser user);
	
	public int insertAgentThridRealg(DrmAgentAllocateReal real);
	
	public List<DrmCourse> qureyCourseList(DrmUser user);
	
	public List<AgentCourseReal> qureyCourseObjt(AgentCourseReal real);
	
	public Long qureyAgentAmount(Long agentID);
	
	public int updateAmout(DrmAgentAmountLog userAmount);
	
	public List<DrmAgentAllocateReal> qureyCoursedetails(PageModel model);
	
	public List<DrmAgentAmountLog> qureyAmountLogList(Long userId);
	
	/**
	 * 学员管理页面cnt
	 */
	public Long qureyCoursedetailsCnt(PageModel model);
	
}